/* assets/css/pages/home/projects.css */

.project-archive {
    background: #000000;
    padding: 120px 0;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
}

.archive-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.archive-header {
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.p-index { color: #8b2cf5; font-weight: 900; }
.p-title { font-size: 2rem; letter-spacing: 5px; margin: 0; }
.p-line { flex-grow: 1; height: 1px; background: rgba(139, 44, 245, 0.2); }

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.p-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.p-card:hover {
    background: rgba(139, 44, 245, 0.03);
    border-color: rgba(139, 44, 245, 0.4);
    transform: translateY(-10px);
}

.p-meta {
    font-size: 0.65rem;
    color: #8b2cf5;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: bold;
}

.p-name {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}

.p-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 30px;
}

.p-tags {
    margin-top: auto;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    word-spacing: 10px;
}

/* Highlight specific card */
.highlight-node {
    border-color: rgba(139, 44, 245, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
    .project-grid { grid-template-columns: 1fr; }
}